.yg-index {
  .search {
    height: 100rpx;
    width: 750rpx;
    line-height: 100rpx;
    background: #ff2d4a;

    .search-content {
      width: 90%;
      height: 80rpx;
      background: #fff;
      margin: 0 auto;
      text-align: center;
      line-height: 80rpx;
    }
  }
  .pyg_catitems {
    margin-top: 12rpx;
    margin-bottom: 43rpx;
    display: flex;

    navigator {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;

      image {
        height: 140rpx;
        width: 128rpx;
      }
    }
  }

  .pyg_floorData {
    .floor_title {
      margin-top: 10rpx;

      image {
        height: 59rpx;
      }
    }

    .product_list {
      overflow: hidden;

      navigator {
        float: left;
        &:nth-child(1) {
          margin-left: 16rpx;
          height: 386rpx;
          width: 232rpx;
        }

        &:nth-child(2),
        &:nth-child(4) {
          margin-left: 15rpx;
          height: 188rpx;
          width: 233rpx;
        }

        &:nth-child(3),
        &:nth-child(5) {
          margin-left: 15rpx;
          height: 188rpx;
          width: 223rpx;
        }

        &:nth-child(3),
        &:nth-child(2) {
          margin-bottom: 10rpx;
        }
        image {
          width: 100%;
          height: 100%;
        }
      }
    }
  }
}
